package com.none.web.service.voting;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import spring.mvc.bind.annotation.FormModel;

import com.none.core.model.Pager;
import com.none.web.model.TActivity;
import com.none.web.model.TActivityAppUser;

/**
 * voting业务处理类（service）
 * @author William
 * @timer  20150210
 */
public interface IVotingService {
	/**
	 * join voting add by William 20150212
	 * @param votingId
	 * @param userId
	 * @param options
	 * @param items
	 * @return
	 * @throws Exception
	 */
	public boolean joinVoting(String votingId,String userId,String options[],String items[])  throws Exception;
	/**
	 * check voting add by William 20150212
	 * @param votingId
	 * @param userId
	 * @return
	 * @throws Exception
	 */
	public boolean checkVoting(String votingId,String userId)  throws Exception;
	/**
	 * 
	 * @param votingId
	 * @param fileFormat
	 * @param sumType
	 * @return
	 * @throws Exception
	 */
	//public boolean exportVoting(String votingId,String fileFormat,String sumType)  throws Exception;
}
